<!--
 * @Author: GKN
 * @Date: 2023-10-24 11:53:29
 * @LastEditTime: 2023-10-24 17:29:51
 * @LastEditors: GKN
 * @Description: 
 * @FilePath: \mod\src\view\user\expand\e3.vue
 * 可以输入预定的版权声明、个性签名、空行等
-->
<template>
    <div v-loading="loading">
        <el-table :data="list" stripe style="width: 100%" @row-dblclick="rowDblclick">
            <el-table-column prop="address" label="文件名称" header-row-class-name="headn" >
                <template #default="scope">
                    <span style="color:#d10b00;">成果</span>
                </template>
            </el-table-column>
            <el-table-column prop="name" label="文件状态" >
                <template #default="scope">
                    <span style="color:#d10b00;">{{ scope.row.name }}</span>
                </template>
            </el-table-column>
            <el-table-column prop="size" label="大小" ></el-table-column>
            <el-table-column prop="date" label="时间" ></el-table-column>
            <el-table-column fixed="right" label="" width="120">
                <template #default>
                    <!-- <el-button link type="primary" size="small" @click="handleClick"
                    >Detail</el-button
                    >
                    <el-button link type="primary" size="small">Edit</el-button> -->
                </template>
            </el-table-column>
        </el-table>
        <!-- <div style="width: 100%;" class="flex flex-w">
            <div class="uploadView cursor-p" v-for="(item,i) in list" :key="i" style="width:20%;height: 208px;padding:10px;">
                <div class="item">
                    <div class="ad-view" style="height: 100px;">
                        <img v-if="item.cover" :src="item.cover" alt="" class="ad-img">
                        <el-empty v-if="!item.cover" :image-size="50" description="暂无图片"  />
                    </div>
                    <div class="font-title" style="text-align:left;margin-top:14px;">{{ item.name }}</div>
                    <div class="f-desc-14" style="text-align:right;margin-top:10px;">{{ item.startTm }}</div>
                </div>
            </div>
            <el-empty v-if="list.length == 0" :image-size="150" description="暂无内容"  />
        </div> -->
    </div>
    
</template>

<script setup>
import { ref,reactive,getCurrentInstance } from "vue";
const { proxy } = getCurrentInstance();
import CryptoJS from 'crypto-js';
    const list = ref([])
    const getlist=()=>{
        proxy.$http.request(proxy.$api.list_record+'?pageSize=30&prevTag=0&nextTag=0&ty=1','get',{},false, function (res) {
            if(res&&res.data){
                list.value = res.data.data.list?res.data.data.list:[]
            }
        })
    }
    getlist()
</script>

<style lang='less' scoped>
/deep/ .el-input--large .el-input__wrapper{
    padding: 0 0px;
    background:#f6f7f9;
}
/deep/ .el-textarea__inner{
    background:#f6f7f9;
}
::v-deep {

.el-input__inner {
  border: 0;
  border-radius: 0px;

  // &:focus {
  //   border-bottom: 1px solid #409eff;
  // }
}

.el-textarea__inner {
  resize: none;
  /* 这个是去掉 textarea 下面拉伸的那个标志，如下图 */
  border: 0;
  border-radius: 0px;

  // &:focus {
  //   border-bottom: 1px solid #409eff;
  // }
}
}
/deep/.el-table tr:first-child th{
    background: #e9e9e9;
    color: #333;
}
</style>
  
  


